import requests
def face_search(API_key,API_secret,face_token,faceset_token):
    """该函数为调用face++ face_search接口（face_token）"""
    face_search_url = 'https://api-cn.faceplusplus.com/facepp/v3/search'
    
    payload = {
        'api_key':API_key,
        'api_secret':API_secret,
        'face_token':face_token,
        'faceset_token':faceset_token
            }
    

    r = requests.post(face_search_url, params = payload)
    return r.json()